package com.dly.blog.domain.dto;

import lombok.Data;

import java.util.List;

@Data
public class GptResponseDto {

    private String id;

    private String object;

    private long created;

    private String model;

    private List<Choices> choices;

    private Usage usage;

    @Data
    public static class Choices {
        private int index;
        private MessageContentDto delta;
        private String finish_reason;
    }

    @Data
    public static class Usage {
        private int prompt_tokens;
        private int completion_tokens;
        private int total_tokens;
    }
}

